    package com.ruoyi.purchase.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品入库对象 firm_purchase_inbound
 * 
 * @author ruoyi
 * @date 2023-07-17
 */
public class FirmPurchaseInbound extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 供应商 */
    @Excel(name = "供应商")
    private Integer supplierId;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String receiptsNumber;

    /** 商品信息 */
    @Excel(name = "商品信息")
    private String commodityId;

    /** 单据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "单据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiptsDate;

    /** 操作员 */
    @Excel(name = "操作员")
    private String operator;

    /** 金额合计 */
    @Excel(name = "金额合计")
    private BigDecimal moneyTotal;

    /** 待付金额 */
    @Excel(name = "待付金额")
    private BigDecimal debtAmount;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private String payamount;

    /** 状态 */
    @Excel(name = "状态")
    private Integer state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupplierId(Integer supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Integer getSupplierId() 
    {
        return supplierId;
    }
    public void setReceiptsNumber(String receiptsNumber) 
    {
        this.receiptsNumber = receiptsNumber;
    }

    public String getReceiptsNumber() 
    {
        return receiptsNumber;
    }
    public void setCommodityId(String commodityId) 
    {
        this.commodityId = commodityId;
    }

    public String getCommodityId() 
    {
        return commodityId;
    }
    public void setReceiptsDate(Date receiptsDate) 
    {
        this.receiptsDate = receiptsDate;
    }

    public Date getReceiptsDate() 
    {
        return receiptsDate;
    }
    public void setOperator(String operator) 
    {
        this.operator = operator;
    }

    public String getOperator() 
    {
        return operator;
    }
    public void setMoneyTotal(BigDecimal moneyTotal) 
    {
        this.moneyTotal = moneyTotal;
    }

    public BigDecimal getMoneyTotal() 
    {
        return moneyTotal;
    }
    public void setDebtAmount(BigDecimal debtAmount) 
    {
        this.debtAmount = debtAmount;
    }

    public BigDecimal getDebtAmount() 
    {
        return debtAmount;
    }
    public void setPayamount(String payamount) 
    {
        this.payamount = payamount;
    }

    public String getPayamount() 
    {
        return payamount;
    }
    public void setState(Integer state) 
    {
        this.state = state;
    }

    public Integer getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplierId", getSupplierId())
            .append("receiptsNumber", getReceiptsNumber())
            .append("commodityId", getCommodityId())
            .append("receiptsDate", getReceiptsDate())
            .append("operator", getOperator())
            .append("moneyTotal", getMoneyTotal())
            .append("debtAmount", getDebtAmount())
            .append("payamount", getPayamount())
            .append("state", getState())
            .toString();
    }
}
